﻿using System.Reflection;
using Fabrication.ValueProviders;

namespace Fabrication.Tests.Mocks
{
    public class MockStringValueProvider : IValueProvider
    {
        private PropertyInfo propertyInfo;

        public object GetValue(object item)
        {
            return propertyInfo.Name + "Mock";
        }

        public void Initialize(PropertyInfo property)
        {
            propertyInfo = property;
        }
    }
}